package org.code.mallspringboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.code.mallspringboot.pojo.SmsCouponHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity org.code.mallspringboot.pojo.SmsCouponHistory
 */
@Mapper
public interface SmsCouponHistoryMapper {


    /**
     根据 status 查询
     * @param status
     * @return
     */
    List<SmsCouponHistory> selectByUseStatus(@Param("status") Integer status);

    /**
     添加
     * @param smsCouponHistory
     * @return
     */
    int add(SmsCouponHistory smsCouponHistory);
}




